package com.example.sqliteapplication.utils;

import android.app.Application;
import android.content.Context;

/**
 * Created by wly on 2019/4/18.
 */

public class MyAppInfo extends Application {
    private  static Context context;

    @Override
    public void onCreate() {
        super.onCreate();
        context=getApplicationContext();
    }

    public static Context getAppContext(){
        return  context;
    }
}
